:root {
    --bg-main: #ffffff;
    --bg-soft: #f5f5f7;
    --border-soft: #e5e5e5;
    --text-main: #333333;
    --text-muted: #6a6a6a;
    --accent: #c9a86a;
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.05);
    --radius: 18px;
    --transition: 0.3s ease;
    --max-width: 1100px;
    --header-height: 70px;
    --whatsapp-bg: #25d366;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-soft);
    color: var(--text-main);
}

/* HEADER & NAVBAR */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.navbar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Stabilisation du bloc logo */
.navbar .logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 200px;
    padding: 0 1rem;
}

.logo-main {
    font-size: 1.2rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.04em;
}

.logo-sub {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    opacity: 0.85;
    color: var(--text-muted);
    white-space: nowrap;
}

.menu {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.menu a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    transition: background var(--transition), color var(--transition);
}

.menu a:hover,
.menu a.active {
    background: var(--accent);
    color: #fff;
}

/* Submenu */

.has-submenu {
    position: relative;
}

.submenu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: var(--text-main);
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    transition: background var(--transition), color var(--transition);
}

/* Masque l’onglet "Destinations" du menu principal */
.navbar .submenu-toggle {
    display: none !important;
}

.submenu-toggle:hover {
    background: var(--accent);
    color: #fff;
}

.submenu {
    position: absolute;
    top: 120%;
    left: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    min-width: 180px;
    display: none;
}

.submenu li a {
    display: block;
    padding: 0.4rem 0.9rem;
    border-radius: 0;
}

.has-submenu.open .submenu {
    display: block;
}

/* Burger */

.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    width: 22px;
    height: 2px;
    background: var(--text-main);
    border-radius: 999px;
}

/* HERO SLIDER */

.hero-slider {
    max-width: var(--max-width);
    margin: 1.5rem auto;
    padding: 1.5rem;
    background: var(--bg-main);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.slider {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    background: transparent;
}

.slide {
    display: none;
    position: relative;
}

.slide.active {
    display: block;
}

/* Images & vidéos 100% responsives */
.slide video,
.slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    border-radius: var(--radius);
}

/* Légende */
.slide-caption {
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.slide-caption h1 {
    margin: 0 0 0.3rem;
    font-size: 1.6rem;
}

.slide-caption p {
    margin: 0;
    font-size: 0.95rem;
}

/* Boutons du slider */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

/* BLOCS */

main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem;
}

.bloc {
    background: var(--bg-main);
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.bloc h2,
.bloc h1 {
    margin-top: 0;
}

/* ACCORDEONS */

.accordion {
    margin-top: 0.8rem;
}

.acc-btn {
    width: 100%;
    text-align: left;
    background: var(--bg-soft);
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    padding: 0.6rem 1rem;
    cursor: pointer;
    font: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.acc-btn::after {
    content: "+";
    font-weight: bold;
}

.acc-btn.active::after {
    content: "–";
}

.acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
    padding: 0 0.2rem;
}

.acc-content.open {
    padding-top: 0.6rem;
}

/* GALLERY */

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.6rem;
    margin-bottom: 20px;
}

.gallery img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
}

/* Liens globaux */

main a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition), opacity var(--transition);
}

main a:hover {
    opacity: 0.8;
}

/* Boutons téléphone & email — version finale premium */

.btn-contact {
    display: inline-block;
    background: linear-gradient(135deg, #b47a3c, #c49a6c);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background var(--transition), transform var(--transition), opacity 0.3s ease;
}

.btn-contact:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* PARTNER */

.partner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.partner img {
    width: 120px;
    height: auto;
}

/* FOOTER */

.site-footer {
    margin-top: 40px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.85);
    border-top: 1px solid #e5e5e5;
    backdrop-filter: blur(6px);
    text-align: center;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.footer-separator {
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, #c47a3b, transparent);
    margin-bottom: 20px;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    margin-bottom: 15px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: #c47a3b;
}

.footer-icon {
    color: #c47a3b;
    font-size: 1.1em;
}

.footer-copy {
    font-size: 0.9em;
    opacity: 0.8;
    text-align: center;
}

.footer-symbol {
    text-align: center;
    margin-top: 2rem;
    line-height: 1.4;
}

.footer-text-line {
    font-size: 0.9rem;
    color: #8C6239;
    font-style: italic;
}

.footer-symbol-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.4rem 0;
}

/* Symbole Vegvisir + texte */

.footer-symbol-horizontal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    text-align: center;
    flex-wrap: wrap;
}

.footer-text-left,
.footer-text-right {
    font-size: 0.9rem;
    color: #8C6239;
    font-style: italic;
}

.vegvisir-logo {
    width: 60px;
    height: auto;
    opacity: 0.9;
    animation: spin 18s linear infinite;
}

/* Version mobile footer */

@media (max-width: 600px) {
    .footer-symbol-horizontal {
        flex-direction: column;
        gap: 0.4rem;
    }

    .vegvisir-logo {
        width: 55px;
    }

    .footer-text-left,
    .footer-text-right {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

/* SCROLL TOP */

#scrollTop {
    position: fixed;
    right: 1.2rem;
    bottom: 2.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

#scrollTop.visible {
    opacity: 1;
    pointer-events: auto;
}

/* WHATSAPP */

.whatsapp-btn {
    position: fixed;
    left: 1.2rem;
    bottom: 1.2rem;
    background: var(--whatsapp-bg);
    color: #fff;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.85rem;
    box-shadow: var(--shadow-soft);
    z-index: 9999 !important;
}

/* RGPD BANNER */

.rgpd-banner {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0.8rem;
    max-width: 480px;
    width: calc(100% - 2rem);
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    z-index: 999999 !important;
    pointer-events: auto !important;
}

.rgpd-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.rgpd-actions button {
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    padding: 0.3rem 0.8rem;
    cursor: pointer;
    font-size: 0.8rem;
}

#rgpd-accept {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* INSTALL BANNER */

.install-banner {
    position: fixed;
    top: 0.8rem;
    right: 0.8rem;
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    max-width: 260px;
    z-index: 9999 !important;
}

.install-banner.hidden {
    display: none;
}

.install-banner button {
    margin-top: 0.5rem;
    margin-right: 0.4rem;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    padding: 0.3rem 0.8rem;
    cursor: pointer;
    font-size: 0.8rem;
}

/* Désactiver tout overlay invisible */

.overlay,
.backdrop,
#menu-overlay {
    pointer-events: none !important;
}

/* Texte justifié */

body, p, li, .acc-content p {
    text-align: justify;
    text-justify: inter-word;
}

/* POINT ACTIF */

.point-actif {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #2ecc71;
    border-radius: 50%;
    margin-left: 6px;
    animation: clignote 1.2s infinite ease-in-out;
}

@keyframes clignote {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.7); }
    100% { opacity: 1; transform: scale(1); }
}

.label-actif {
    font-size: 0.8rem;
    color: #2ecc71;
    margin-left: 4px;
    font-weight: 600;
}

/* LOGO FLOTTANT */

.floating-logo {
    position: fixed;
    top: 18px;
    left: 18px;
    width: 300px;
    height: 300px;
    z-index: 1200;
    opacity: 0;
    transform: translateY(-10px) scale(1);
    animation: floatingFadeIn 1.2s ease forwards,
               floatingPulse 4s ease-in-out infinite 1.2s;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.floating-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
}

@keyframes floatingFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.96);
    }
    100% {
        opacity: 0.85;
        transform: translateY(0) scale(1);
    }
}

@keyframes floatingPulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.04); }
    100% { transform: scale(1); }
}

body.scrolled .floating-logo {
    opacity: 0.45;
    transform: scale(0.88);
}

/* VERSION MOBILE LOGO FLOTTANT */

@media (max-width: 900px) {
    .floating-logo {
        width: 50px;
        height: 50px;
        top: 12px;
        left: 12px;
        animation: floatingFadeInMobile 1.2s ease forwards,
                   floatingPulseMobile 4.5s ease-in-out infinite 1.2s;
    }

    @keyframes floatingFadeInMobile {
        0% {
            opacity: 0;
            transform: translateY(-8px) scale(0.94);
        }
        100% {
            opacity: 0.55;
            transform: translateY(0) scale(1);
        }
    }

    @keyframes floatingPulseMobile {
        0%   { transform: scale(1); }
        50%  { transform: scale(1.03); }
        100% { transform: scale(1); }
    }

    body.scrolled .floating-logo {
        opacity: 0.30;
        transform: scale(0.82);
    }
}

/* Désactivation automatique sur pages sensibles */

body.page-contact .floating-logo,
body.page-questionnaire .floating-logo,
body.page-retour .floating-logo {
    display: none;
}

/* DESTINATIONS — GRILLE */

#destinations {
  background: #f9f9f9;
  color: #222;
  padding: 2.5rem 1rem;
}

#destinations h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

#destinations .intro {
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto 1.8rem;
  line-height: 1.5;
}

/* Grille plus serrée */

.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  justify-items: center;
}

/* Cartes destinations */

.dest-card {
  position: relative;
  border: 3px solid #c47a3b;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: transparent;
  box-shadow: 0 0 12px rgba(196, 122, 59, 0.35);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.dest-image-wrapper img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 0.4s ease, filter 0.3s ease;
}

/* Bande transparente sur l'image */

.dest-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.6rem 1rem;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.dest-overlay h3 {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  text-shadow: 0 0 8px rgba(0,0,0,0.6);
}

.dest-overlay .btn-copper {
  align-self: flex-start;
  margin: 0;
}

/* Hover premium */

.dest-card:hover {
  border-color: #f3c08a;
  box-shadow: 0 0 18px rgba(243, 192, 138, 0.55);
  transform: translateY(-4px);
}

.dest-card:hover img {
  transform: scale(1.04);
  filter: brightness(1);
}

/* Responsive destinations */

@media (max-width: 600px) {
  #destinations {
    padding: 2rem 0.8rem;
  }

  .dest-image-wrapper img {
    height: 140px;
  }
}

/* CAROUSEL DESTINATIONS */

.dest-carousel-section {
  padding: 60px 20px;
  background: #fafafa;
  text-align: center;
}

.dest-carousel-title {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

.dest-carousel-wrapper {
  overflow-x: auto !important;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.dest-carousel-wrapper::-webkit-scrollbar {
  display: none;
}

.dest-carousel {
  display: flex !important;
  gap: 20px;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.dest-slide {
  flex: 0 0 260px !important;
  scroll-snap-align: start;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.dest-slide:hover {
  transform: scale(1.04);
}

.dest-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.dest-slide h3 {
    padding: 12px 15px 0;
    font-size: 1.2rem;
    text-align: left;
    margin: 0;
}

.dest-slide .dest-sub {
    padding: 0 15px 15px;
    font-size: 0.95rem;
    color: #666;
    text-align: left;
    margin: 0;
    line-height: 1.3;
}

/* Pagination = commandes */

.dest-pagination {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dest-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c47c3c;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0.4;
}

.dest-dot.active {
  opacity: 1;
  transform: scale(1.3);
}

.dest-dot:hover,
.dest-dot:focus {
  opacity: 1;
}

/* Filtre alphabétique */

.alpha-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 20px 0;
  justify-content: center;
}

.alpha-btn {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: white;
  cursor: pointer;
  font-size: 14px;
  transition: 0.2s;
  position: relative;
}

.alpha-btn:hover {
  background: #f0f0f0;
}

.alpha-btn.active {
  background: #c9a86a;
  color: white;
  border-color: #c9a86a;
  box-shadow: 0 0 18px rgba(243, 192, 138, 0.55);
}

.alpha-btn.active-letter::after {
    content: "";
    position: absolute;
    top: -4px;
    right: -4px;
    width: 10px;
    height: 10px;
    background: #2ecc71;
    border-radius: 50%;
    animation: pulseGreen 1.6s infinite ease-in-out;
}

.dest-slide.hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

/* Masque le filtre alpha sur mobile */

@media (max-width: 768px) {
  .alpha-filter {
    display: none;
  }
}

/* Pulsation verte pour lettre active */

@keyframes pulseGreen {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}

/* Pulsation générique (classe .pulse) */

.pulse {
    animation: pulse 1.6s infinite ease-in-out;
    transform-origin: center;
}

@keyframes pulse {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.12); }
    45%  { transform: scale(1); }
    60%  { transform: scale(1.12); }
    100% { transform: scale(1); }
}

/* Titre avec Vegvisir */

.dest-title-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: flex-start;
}

.vegvisir-title-icon {
    width: 50px;
    height: auto;
    animation: spin 18s linear infinite;
    opacity: 0.9;
}

/* Animation de rotation (unique) */

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Lien Mastermap */

.link-mastermap {
    color: #8f5523;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.link-mastermap:hover {
    opacity: 0.7;
}

/* Sous-titre destinations */

.dest-sous-titre {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    text-align: center;
    margin-bottom: 20px;
}

.dest-sous-titre span {
    font-size: 1.1rem;
    color: #555;
}

/* Divers */

html, body {
  overflow-x: hidden;
}

.top-accent {
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, #c47a3b, transparent);
    opacity: 0.7;
}
/* --- MENU MOBILE PREMIUM --- */
@media (max-width: 900px) {

    .burger {
        display: flex;
        z-index: 1001;
    }

    .menu {
        position: fixed;
        top: var(--header-height);
        right: 0;
        width: 260px;
        height: calc(100vh - var(--header-height));
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.8rem;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        box-shadow: -4px 0 20px rgba(0,0,0,0.15);
        overflow-y: auto;
        z-index: 1000;
    }

    .menu.open {
        transform: translateX(0);
    }

    .menu a {
        display: block;
        width: 100%;
        padding: 0.9rem 1rem;
        border-radius: 10px;
        background: transparent;
        color: var(--text-main);
        font-size: 1rem;
    }

    .menu a:hover {
        background: #eaeaea;
    }

    .menu a.active {
        background: #eaeaea;
        color: #000;
    }

    /* Sous-menu mobile */
    .submenu {
        position: static;
        background: transparent;
        box-shadow: none;
        padding-left: 1rem;
    }

    .has-submenu.open .submenu {
        display: block;
    }
}
#rgpd-banner {
  display: block !important;
  z-index: 999999 !important;
}
